<template>
    <el-row>
        <el-col :span="24">
            <el-form :inline="true"
                :model="form"
                class="search_prod tl">
                <el-form-item label="">
                    <el-input size="small"
                        clearable
                        v-model="form.username"
                        placeholder="用户名"></el-input>
                </el-form-item>

                <el-form-item label="">
                    <el-input size="small"
                        clearable
                        v-model="form.nickname"
                        placeholder="昵称"></el-input>
                </el-form-item>

                <el-form-item label="">
                    <el-input size="small"
                        clearable
                        v-model="form.title"
                        placeholder="店铺名称"></el-input>
                </el-form-item>

                <!-- <el-form-item label="">
                    <el-input type='text'
                        size="small"
                        clearable
                        v-model="form.username"
                        placeholder="发货人"></el-input>
                </el-form-item> -->

                <el-form-item label="">
                    <el-row class="tl">
                        <el-col :span="24">
                            <el-button :loading='$store.state.isLoading'
                                size="small"
                                class="top_weiy"
                                type="primary"
                                @click="onSubmit">查询</el-button>
                        </el-col>
                    </el-row>
                </el-form-item>
            </el-form>
        </el-col>
    </el-row>
</template>
<script>
export default {
    name: "productSearch",
    data () {
        return {
            form: {
                title: "",
                username: "",
                nickname:"",

            }
        };
    },
    methods: {
        onSubmit () {
            this.$emit("sendSearch", this.form);
        }
    },
    created () { }
};
</script>
